package com.vavr.checkincms.domain.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * CheckinUserDTO
 *
 * @since 2.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
public class CheckinUserDTO {
    /**
     * 用户ID
     */
    private String userId;

    /**
     * 手机号码
     */
    private String tel;

    /**
     * 姓名
     */
    private String name;

    /**
     * 签到时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date checkinTime;

    /**
     * 签到ID
     */
    private String checkId;
}
